package com.linked.pay.coupon.bean.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * @author :dbq
 * @date : 2023/3/6 9:24
 * @description : desc
 */
@TableName("pay_user_coupon")
@Data
public class UserCouponPO {
    @TableId(value = "user_coupon_id", type = IdType.ASSIGN_UUID)
    private String userCouponId;
    @TableField("user_id")
    private String userId;
    @TableField("coupon_id")
    private String couponId;
    @TableField("create_time")
    private LocalDateTime createTime;
    @TableField("if_used")
    private Integer ifUsed;

}
